package com.ldw.desensitizer.controller;

import com.ldw.desensitizer.service.annotation.Desensitizer;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/common")
public class CommonController {

    @GetMapping(value = "/test")
    @Desensitizer
    public Integer test() {
        return 2000;
    }
}
